package com.gitee.wsl.struct.grammar.ast.render.tag

import com.gitee.wsl.struct.grammar.ast.node.ASTNode


interface TagRenderer {
    fun openTag(node: ASTNode,
                tagName: CharSequence,
                vararg attributes: CharSequence?,
                autoClose: Boolean = false): CharSequence

    fun closeTag(tagName: CharSequence): CharSequence

    fun printHtml(html: CharSequence): CharSequence
}